#ifndef FilterSTriangle_h
#define FilterSTriangle_h

#include "Filter.h"

class FilterSTriangle : public Filter {
	public:
		FilterSTriangle(double support);
		~FilterSTriangle();
		
		double getWeight(double x, double y, int num_samples) const;
		void getWeights(double* weights, int samples, double* xs, double* ys) const;
	private:
		double min_x_coord;
		double min_y_coord;
		double max_x_coord;
		double max_y_coord;
};

#endif